package cn.com.surker.material.dao;

import cn.com.surker.material.entity.MaterialWarehouse;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 材料仓位 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2023-07-18
 */
public interface MaterialWarehouseDao extends BaseMapper<MaterialWarehouse> {

	@Override
	List<MaterialWarehouse> selectList(@Param(Constants.WRAPPER) Wrapper<MaterialWarehouse> queryWrapper);

	/**
	 * 查询仓库名
	 * @param id
	 * @return
	 */
	String selectNameById(Long id);
}
